<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"> -->
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta name="format-detection" content="telephone=yes" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <!-- <title><%= htmlWebpackPlugin.options.title %></title> -->
    <title>基础</title>
    <!-- <script src="../commons/js/aws.mobile.jsapi.js" crossorigin></script>
    <script src="../commons/js/aws.mobile.api.js" crossorigin></script> -->
    <!-- <script src="http://43.254.152.147:59807/portal/commons/js/aws.mobile.jsapi.js" crossorigin ></script> -->
    <!-- <script src="http://47.103.148.121:80/commons/js/aws.mobile.jsapi.js"></script> -->
    <!-- <script src="./lib/aws.mobile.api.js"></script> -->
    <script src="./lib/aws.mobile.jsapi.js" crossorigin></script>
    <!-- <script src="http://183.193.213.2:59807/portal/commons/js/aws.mobile.api.js"></script> -->
    <script src="/portal/commons/js/aws.mobile.api.js"></script>
    
  
  </head>
  <body>

  
    <!-- <script src="https://unpkg.com/axios/dist/axios.min.js"></script> -->
    <div id="app"></div>
    <script>
  // 获取URL参数的函数
  // function getParameterByName(name, url) {
  //   if (!url) url = window.location.href;
  //   name = name.replace(/[\[\]]/g, "\\$&");
  //   var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
  //       results = regex.exec(url);
  //   if (!results) return null;
  //   if (!results[2]) return '';
  //   return decodeURIComponent(results[2].replace(/\+/g, " "));
  // }

  // 将dduserid存储在全局变量中
  window.dduserid='213450486534028433'
   window.dduserid = getParameterByName('dduserid');
  // console.log('dduserid:', window.dduserid);
      // var sid='be442301-43f4-47a5-b291-e77ce027597e'
    //   var url = window.location.href ;             //获取当前url
    //   // var url = 'http://www.hahaha.com/list?Id=9#/';             //获取当前url
    //   var dz_url = url.split('#')[0];                //获取#/之前的字符串
    //   var cs = dz_url.split('?')[1];                //获取?之后的参数字符串
    //   var cs_arr = cs.split('&');                    //参数字符串分割为数组
    //   var cs={};
    //   for(var i=0;i<cs_arr.length;i++){         //遍历数组，拿到json对象
    //     cs[cs_arr[i].split('=')[0]] = cs_arr[i].split('=')[1]
    //   }
    // // this.id = cs.id; 
    // console.log(cs.Id)
    
    </script>
  </body>
</html>
